package cc.rengu.redp.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Data
@Component
@Configuration
@ConfigurationProperties(prefix = "redp")
public class RedpProperties {

    private ShiroProperties shiro = new ShiroProperties();

    private boolean openAopLog = true;

    private boolean testMode = false;

    private boolean liquibaseEnable = true;

    private Integer userMessageInterval = 30;

    private String baseFilePath = "";

    private SwaggerProperties swagger = new SwaggerProperties();

    private String defaultPassword = "";

    private boolean jobAutoStartup = false;

}
